package kr.hkit.powerjava.chapter04;

import java.util.Scanner;

public class Ex {
	public static void main(String[] args) {
		
		Scanner input = new Scanner(System.in);
		
		double d;  //달러
		int w;  //원화
		double h=1392.83;  //환율
		
		System.out.println("원화를 입력하세요.");
		
		w=input.nextInt();
		
		d=w/h;
	
	
		System.out.println(w+"원은"+ d +"달러입니다");
		
		
	}

}